#基础包安装
yum install -y wget vim net-tools epel-release
#时间同步
yum -y install ntp ntpdate
ntpdate 0.asia.pool.ntp.org
date
#openVPN和easy-rsa源
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
#openVPN安装
yum -y install openvpn

echo '请将openvpn ovpn文件放置到/etc/openvpn/client目录，然后执行startvpn'

